'use client' import { FC, PropsWithChildren } from "react"; import { useRouter } from "@/i18n"; import './page.css' interface Props { } const App: FC> = (props) =>{ const router:any = useRouter() const goPage = (path = '')=>{ if(path){ if(path === 'home'){ router.replace('/') return } console.log(router); router.replace(`/affiliate/${path}`) return } router.back() } return (
goPage()}>
Afiliado - Ganhe R$ 10.000 por dia goPage('home')}>
goPage('summary')}> PAINEL
goPage('referrals')}> REFERÊNCIAS
goPage('report')}> RELATÓRIO
goPage('payments')}> PAGAMENTOS
goPage('faq')}> FAQ
TUTORIAL
  • Data
    Detalhe
    Comissão
    Status
Opa! Ainda não há dados!
) } export default App